package com.xiexin.setmealinfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xiexin.common.annotation.Excel;
import com.xiexin.common.core.domain.BaseEntity;

/**
 * 套餐的信息对象 setmeal
 * 
 * @author xiexin
 * @date 2022-03-26
 */
public class SetmealInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 套餐编码 */
    private Long id;

    /** 套餐名称 */
    @Excel(name = "套餐名称")
    private String name;

    /** 是否上架 */
    @Excel(name = "是否上架")
    private Integer status;

    /** 适用性别 */
    @Excel(name = "适用性别")
    private Long sex;

    /** 套餐价格 */
    @Excel(name = "套餐价格")
    private Long price;

    /** 套餐图片 */
    @Excel(name = "套餐图片")
    private String img;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setSex(Long sex) 
    {
        this.sex = sex;
    }

    public Long getSex() 
    {
        return sex;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("status", getStatus())
            .append("sex", getSex())
            .append("price", getPrice())
            .append("remark", getRemark())
            .append("img", getImg())
            .toString();
    }
}
